package cn.sise.edu.crm.mapper;

import cn.sise.edu.crm.domain.Department;
import cn.sise.edu.crm.query.QueryObject;

import java.util.List;

/**
 * Created by chen on 2019/11/3.
 */
public interface DepartmentMapper {
    void insert(Department department);
    void delete(Long id);
    void update(Department department);
    Department selectById(Long id);
    List<Department> selectAll();
    List<Department> selectForList(QueryObject qo);
}
